import request from '@/utils/request'
import axios from "axios";
import {upload} from "@/utils/upload";

export function fileUpload(file) {
  return request({
    url: '/file/upload',
    headers: {
      isToken: true,
      repeatSubmit: false
    },
    method: 'post',
    data: file
  })
}

export function signatureFileUpload(file) {
  return upload("/file/upload", file)
}


